public class ArrayReduce{
	//编写一个main的主方法
	public static void main(String[] args){
		int arr[] = {1,2,3,4};
		int newArr[] = new int[arr.length - 1];

		for(int i = 0; i < arr.length-1; i++){
			newArr[i] = arr[i];	
		}

		arr = newArr;
		for(int i = 0; i < arr.length; i++){
			System.out.println(arr[i]);
		}
		
	}
}